package com.steam.mapper;

import com.steam.entity.Query;
import com.steam.entity.QueryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface QueryMapper {
    int countByExample(QueryExample example);

    int deleteByExample(QueryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Query record);

    int insertSelective(Query record);

    List<Query> selectByExample(QueryExample example);
    List<Query> selectNewByExample(QueryExample example);

    Query selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Query record, @Param("example") QueryExample example);

    int updateByExample(@Param("record") Query record, @Param("example") QueryExample example);

    int updateByPrimaryKeySelective(Query record);

    int updateByPrimaryKey(Query record);
}
